<template>
  <view class="index">
    <Counter />
    <button class="bg-sky-600 animate-bounce" @tap="goSecond">去second</button>
  </view>
  <view>bug1</view>
  <view>fix bug1</view>
</template>

<script setup>
  import './index.scss'
  import Counter from '@components/Counter.vue'
  import { navigate } from '@utils/navigate'
  import { PageEnum } from '@enums/pageEnum'

  function goSecond() {
    navigate('/' + PageEnum.SECOND + '?id=1&p=3')
  }
</script>
